/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entity;

import java.util.Collection;
import javax.ejb.*;
import transfer.Warehouse;

/**
 *
 * @author Sergey
 */
public interface WarehouseLocalHome extends EJBLocalHome {

    WarehouseLocal create(Warehouse warehouse) throws CreateException;

    WarehouseLocal findByPrimaryKey(Integer idCommodity) throws FinderException;

    WarehouseLocal findByName(String nameWarehouse) throws FinderException;

    Collection findAllWarehouses() throws FinderException;
}
